
{layout name="layout" /}
          <div class="col-md-12 col-sm-12" style="margin-top:20px;">

          <div class="bs-example" data-example-id="contextual-table">
    <table class="table .table-responsive" border="1px">
      <thead>
        <tr>
          <th>楼层</th>
          <th>楼盘分期</th>
          <th>楼栋号</th>
          <th>房屋号</th>
          <td>交房号</td>
          <th><a href="javascript:;" class="status-toggle" data-status="{$status}">
          验证状态
          </a>
          </th>
          <th>验证时间</th>
          <th>验证管理员</th>
          <th>操作</th>
        </tr>
      </thead>
      <tbody>

      {volist name="rows" id="row"}
        <tr class={eq name="row.status" value="1"}"trdanger"{/eq}>
          <th scope="row">{$row.floor}</th>
          <td>{$row.group_name}</td>
          <td>{$row.building}</td>
          <td>{$row.appartment}</td>
          <td>{$row.newroom}</td>
          <td><a href="javascript:;" class="status" data-status="{$row.status}">
          {$row.status_cn}
          </a></td>
          <td>
           {if condition="substr($row.update_time,0,4) eq '1970'"}
                {else /} 
                 {$row.update_time}
            {/if}
         
          </td>
           <td>{$row.manager_name}</td>
          {eq name="row.status" value="2"}
          <td><a href="javascript:;" class="btn btn-danger btn-xs passcal" data-id={$row.id} data-status="1">
          <i class="fa fa-legal"></i> 验证通过
          </a></td>
          {/eq}
          {eq name="row.status" value="1"}
          <td><a href="javascript:;" class="btn btn-success btn-xs passcal" data-id={$row.id} data-status="2" >
          <i class="fa fa-mail-reply"></i> 取消验证
          </a></td>
          {/eq}
        </tr>
      {/volist}
      
        
      </tbody>
    </table>
  </div>

          </div> <!-- /.col-md-12 -->
